package com.pengchuang.ACS.admin.boot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pengchuang.ACS.admin.api.dto.UserAuthDTO;
import com.pengchuang.ACS.admin.boot.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    UserAuthDTO getByPhone(@Param("userName") String userName);

    List<String> getUserRole(@Param("userName") String userName);
}
